package com.softtown.modules.sys.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;
import java.util.Date;

/**
 * 公司角色用户删除
 *
 * @author Dingyayong
 * @version v1.0
 * @create 2019-06-24 01:20
 **/
@Data
public class CompSysRoleUserDeleteDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @Null(message = "{id.null}")
    @NotNull(message = "{id.require}")
    private Long id;

    @ApiModelProperty(value = "公司id")
    @Null(message = "{compId.null}")
    @NotNull(message="{compId.require}")
    private Long compId;

    @ApiModelProperty(value = "角色id")
    @Null(message = "{roleId.null}")
    @NotNull
    private Long roleId;

    @ApiModelProperty(value = "用户id")
    @Null(message = "{userId.null}")
    @NotNull
    private Long userId;

    @ApiModelProperty(value = "更新者")
    private Long updater;

    @ApiModelProperty(value = "更新时间")
    private Date updateDate;

    @ApiModelProperty(value = "更新时间戳")
    private String updateTimestamp;

    @ApiModelProperty(value = "逻辑删除")
    private Integer isDeleted;
}

